﻿<controls:ChildWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="SilverlightMenu.ErrorWindow" Title="错误">

    <Grid x:Name="LayoutRoot" Width="540" Background="#FF2896D0">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock x:Name="IntroductoryText" Grid.Row="0" Margin="0" Text="发生了未知错误。有关详细信息，请与您的管理员联系。" d:IsHidden="True"/>

        <StackPanel x:Name="ContentStackPanel" Grid.Row="2" Margin="0,6,0,0" d:IsHidden="True">

            <TextBlock x:Name="LabelText" TextWrapping="Wrap" Margin="0,0,0,2" Text="错误详细信息" d:IsHidden="True"/>
            <TextBox x:Name="ErrorTextBox" Height="90" TextWrapping="Wrap" IsReadOnly="True" VerticalScrollBarVisibility="Auto" d:IsHidden="True"/>

        </StackPanel>

        <Button x:Name="OKButton" Grid.Row="3" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,10,0,0" TabIndex="0" Content="确定"/>
        <Border BorderBrush="Black" BorderThickness="1" Margin="197,25,243,-11" Grid.Row="2" CornerRadius="3">
        	<Grid Margin="0">
        		<Grid.RowDefinitions>
        			<RowDefinition Height="0.19*"/>
        			<RowDefinition Height="0.225*"/>
        			<RowDefinition Height="0.585*"/>
        		</Grid.RowDefinitions>
        		<Border BorderBrush="Black" BorderThickness="1" Grid.RowSpan="3" Background="#7FFFFFFF" CornerRadius="3">
        			<Border.Effect>
        				<BlurEffect Radius="94"/>
        			</Border.Effect>
        		</Border>
        		<TextBlock Margin="8,2,0,2" TextWrapping="Wrap" Text="宝山区" d:LayoutOverrides="Height" Foreground="White">
        			<TextBlock.Effect>
        				<DropShadowEffect ShadowDepth="0" BlurRadius="20" Direction="500"/>
        			</TextBlock.Effect>
        		</TextBlock>
        		<TextBlock Margin="8,2,0,0.5" TextWrapping="Wrap" d:LayoutOverrides="Height" Grid.Row="1" Foreground="White" Text="总车辆:25">
        			<TextBlock.Effect>
        				<DropShadowEffect ShadowDepth="0" BlurRadius="20" Direction="500"/>
        			</TextBlock.Effect>
					</TextBlock>
        		<HyperlinkButton Content="车辆列表" Margin="8,8.5,39,0" Grid.Row="2" d:LayoutOverrides="Width" VerticalAlignment="Top"/>
        		<HyperlinkButton Content="图表" HorizontalAlignment="Left" Margin="8,0,0,11" Grid.Row="2" VerticalAlignment="Bottom"/>
        	</Grid>
        </Border>

    </Grid>

</controls:ChildWindow>
